#include<iostream>
using namespace std;

int main()
{
	int a,b,c;
	cin >> a >> b >> c;
	int max = a > b ? a : b;
	if(max < c)
		max = c;
	cout << max << endl;
	return 0;
}
